package com.cgy.utils.netx.ftp.configure;

import com.cgy.utils.netx.ftp.FtpRoute;
import com.cgy.utils.netx.ftp.FtpRouteBuilder;

/**
 * ftp基础配置
 * @author CHTK
 */
public class DefaultConfigureHandler implements IConfigureHandler {

    @Override
    public void configure(FtpRouteBuilder ftpRouteBuilder, FtpRoute ftpRoute) {
        ftpRouteBuilder.from(ftpRoute.realUrl()).to(ftpRoute.realTo());
    }
}
